import time

from pystrich.ean13 import EAN13Encoder
# encoder = EAN13Encoder("123456789012")
# encoder.save("img/pyStrich.png")


for each in range(1, 100):
    info = str(each)
    INFO = (12-len(info))*'0' + info
    print(INFO)
    encoder = EAN13Encoder(INFO)
    encoder.save("img/"+INFO+".png")
    # time.sleep(0.2)
